package com.bolt.admin.module.sys.service;


import com.bolt.admin.module.sys.entity.LoginLogEntity;
import com.bolt.admin.module.sys.repository.UserLogonLogRepository;
import com.bolt.support.base.service.BaseService;
import com.bolt.support.spring.jpa.repository.BasicJpaRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true,rollbackFor = Exception.class)
public class LoginLogService extends BaseService<LoginLogEntity, String> {

    @Autowired
    private UserLogonLogRepository userLogonLogRepository;

    @Override
    protected BasicJpaRepository<LoginLogEntity, String> getRepository() {
        return userLogonLogRepository;
    }

}
